﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Data.Models;

namespace QuanLySanXuat.Models
{
    public partial class BOMFormModels
    {
        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public bool Active { get; set; }
        public System.DateTime EffectiveDate { get; set; }
        public int ProductID { get; set; }
        public string Color { get; set; }
        public virtual IEnumerable<BOMDetail> BOMDetailFormModels { get; set; }
        public virtual IEnumerable<BOMAccessorie_Details> BOMAccessorie_DetailsFormModels { get; set; }
        public virtual IEnumerable<BOMWorker_Details> BOMWorker_DetailsFormModels { get; set; }
        public virtual IEnumerable<BOMMachine_Details> BOMMachine_DetailsFormModels { get; set; }
        //Dung cho material
        public int[] MaterialID { get; set; }
        public int[] ParentBOMID { get; set; }
        public int[] Quantity { get; set; }
        public int[] UnitID { get; set; }
        public string[] Detail { get; set; }
        //Dung cho accesorry
        public int[] AccessorieID { get; set; }
        public float[] PriceAcces { get; set; }
        public int[] QuantityAcces { get; set; }
        public int[] UnitIDAcces { get; set; }
        public string[] DetailAcces { get; set; }
    }
}